package com.ruoyi.bizsys.domain;

import java.math.BigDecimal;

import com.ruoyi.common.annotation.Excel;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 钱包流水对象 wallet_flow
 *
 * @author african-loan
 * @date 2022-06-17
 */

@Data
public class WalletFlow extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @Excel(name = "ID", readConverterExp = "ID")
    private Long id;

    /**
     * 钱包账户号
     */
    @Excel(name = "钱包账户号")
    private String walletNo;

    /**
     * 客户号
     */
    @Excel(name = "客户号")
    private String custNo;

    /**
     * 变更类型
     */
    @Excel(name = "变更类型")
    private String changeType;

    /**
     * 资金类型
     */
    @Excel(name = "资金类型")
    private String fundsType;

    /**
     * 钱包类型
     */
    @Excel(name = "钱包类型")
    private String walletType;

    /**
     * 变更金额
     */
    @Excel(name = "变更金额")
    private BigDecimal changeAmount;

    /**
     * From
     */
    @Excel(name = "From")
    private String fromWhere;

    /**
     * To
     */
    @Excel(name = "To")
    private String toDest;

    /**
     * 钱包订单
     */
    @Excel(name = "钱包订单")
    private String orderSerialNo;

    /**
     * 关联借据
     */
    @Excel(name = "关联借据")
    private String loanSerialNo;

    /**
     * 三方交易流水号
     */
    @Excel(name = "三方交易流水号")
    private String reference;

    /**
     * 状态
     */
    @Excel(name = "状态")
    private String state;

    /**
     * 备注
     */
    @Excel(name = "备注")
    private String remark;

    /**
     * 创建者
     */
    @Excel(name = "创建者")
    private String createBy;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /**
     * 更新者
     */
    @Excel(name = "更新者")
    private String updateBy;

    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

}